<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:p="http://primefaces.org/ui"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    lang="es">
<f:view contentType="text/html"/>


<h:head>
	<link rel="stylesheet" href="#{request.contextPath}/css/basico.css" />
	<title>.:MonkarApps:.</title>
</h:head>
<h:body>	
<!-- 		DIALOGO DE LOGEO -->
	<h:form>
		<h:panelGrid columns="2" cellpadding="5">
			<h:outputLabel for="username" value="Username:" />
			<p:inputText value="#{usuarioBB.usuario.usuario}" id="username"
				required="true" label="username" />

			<h:outputLabel for="password" value="Password:" />
			<h:inputSecret value="#{usuarioBB.usuario.contrasenia}" id="password"
				required="true" label="password" />

			<p:commandButton value="Login" icon="ui-icon-key"
				title="Iniciar Sesión" actionListener="#{usuarioBB.login}"
				update=":growl,:frm_center_top"
				oncomplete="handleLoginRequest(xhr, status, args)" />
		</h:panelGrid>
	</h:form>
</h:body>

</html>